package com.example.shixun.service;

import com.example.shixun.pojo.CourseComent;

import java.util.List;

public interface CourseComentService {
    Integer saveCourseComent(CourseComent courseComent);
    Integer deleteByUserId(Integer userId);
    Integer deleteByCourseId(Integer courseId);
    List<CourseComent> selectByUserId(Integer userId);
    List<CourseComent> selectByCourseId(Integer courseId);
    List<CourseComent> selectAll();
    Integer updateCourseComent(Integer userId,Integer courseId);
}
